
package session.stateless;

import javax.ejb.Remote;
import entity.Address;
import entity.Lead;
import java.util.ArrayList;


@Remote
public interface LeadSessionBeanRemote {
    public void addLead ( String userId, String email, String firstName,String lastName, String company, String title, String status, Integer phone, Address companyAddress, Double revenue, String description, Integer numEmployee, String industry);
    public Lead getLead (Long custId);
    public Lead getLead (String email);
    public ArrayList <Lead> getLeads ();
    public void deleteLead (Long custId);
    public void updateLead(Long custId, String userId, String email, String firstName, String lastName, String company, String title, String status, Integer phone, Address companyAddress, Double revenue, String description, Integer numEmployee, String industry);
    
}
